﻿using NP.BPMReportPlatform.Entities.BPM_Platform;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.AuthorizationUserManager.Dtos
{
    public class RoleInfoInput : PagedAndSortedRequestDto
    {
        /// <summary>
        /// 登录账号
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 是否启用（0：不启用 1：启用）
        /// </summary>
        public int? IsEnable { get; set; }

        /// <summary>
        /// 是否公开（0：不公开 1：公开）
        /// </summary>
        public int? IsPublic { get; set; }

        /// <summary>
        /// 角色类型 1流程发起 2实例分析
        /// </summary>
        public int? RoleType { get; set; }
    }

    public class RoleBindProcessInput
    {
        public string RoleId { get; set; }
        public List<ProcessTree> OldProcesses { get; set; } = new List<ProcessTree>();
        public List<ProcessTree> NewProcesses { get; set; } = new List<ProcessTree>();
    }
}
